FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > RadioButtonListCellType Class > RadioButtonListCellType Constructor : RadioButtonListCellType Constructor(String[],String[]) |
'Usage Dim items() As String Dim values() As String Dim instance As New RadioButtonListCellType(items, values)
string[] rbstr; string[] rbval; rbstr = new String[] {"Ford", "Chevy", "Honda", "Chrysler"}; rbval = new String[] {"Tough", "Rock", "Dependable", "New"}; FarPoint.Web.Spread.RadioButtonListCellType rb = new FarPoint.Web.Spread.RadioButtonListCellType(rbstr, rbval); FpSpread1.ActiveSheetView.Cells[0, 0].CellType = rb; FpSpread1.ActiveSheetView.SetValue(0, 0, "Tough");
Dim rbstr As String() Dim rbval As String() rbstr = New String() {"Ford", "Chevy", "Honda", "Chrysler"} rbval = New String() {"Tough", "Rock", "Dependable", "New"} Dim rb As New FarPoint.Web.Spread.RadioButtonListCellType(rbstr, rbval) FpSpread1.ActiveSheetView.Cells(0, 0).CellType = rb FpSpread1.ActiveSheetView.SetValue(0, 0, "Tough")
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6